﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VB2CS
{
    public class Information
    {
        public static bool IsDBNull(object p)
        {
            return Convert.IsDBNull(p);
        }

        public static int LBound(string[] arrVariableColumns, int p)
        {
            return arrVariableColumns.GetLowerBound(p);
        }

        public static int UBound(string[] arrFixedColumns, int p)
        {
            return arrFixedColumns.GetUpperBound(p);
        }

        public static bool IsNothing(object something)
        {
            //throw new NotImplementedException();
            return something == null;
        }
    }
}
